/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author jcadavid
 */
@Entity
@Table(name = "resourcesmonitoring", catalog = "qosunacloud", schema = "")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Resourcesmonitoring.findAll", query = "SELECT r FROM Resourcesmonitoring r"),
    @NamedQuery(name = "Resourcesmonitoring.findByUuid", query = "SELECT r FROM Resourcesmonitoring r WHERE r.resourcesmonitoringPK.uuid = :uuid"),
    @NamedQuery(name = "Resourcesmonitoring.findById", query = "SELECT r FROM Resourcesmonitoring r WHERE r.resourcesmonitoringPK.id = :id"),
    @NamedQuery(name = "Resourcesmonitoring.findByDate", query = "SELECT r FROM Resourcesmonitoring r WHERE r.date = :date"),
    @NamedQuery(name = "Resourcesmonitoring.findByCounter", query = "SELECT r FROM Resourcesmonitoring r WHERE r.counter = :counter"),
    @NamedQuery(name = "Resourcesmonitoring.findByUserName", query = "SELECT r FROM Resourcesmonitoring r WHERE r.userName = :userName"),
    @NamedQuery(name = "Resourcesmonitoring.findByUpTime", query = "SELECT r FROM Resourcesmonitoring r WHERE r.upTime = :upTime"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUMflops", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUMflops = :cPUMflops"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUMflopsTime", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUMflopsTime = :cPUMflopsTime"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUIdlePct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUIdlePct = :cPUIdlePct"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUUsedPct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUUsedPct = :cPUUsedPct"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUUserPct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUUserPct = :cPUUserPct"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUKernelPct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUKernelPct = :cPUKernelPct"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUNicePct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUNicePct = :cPUNicePct"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUWaitPct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUWaitPct = :cPUWaitPct"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUCombinedPct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUCombinedPct = :cPUCombinedPct"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUUserTime", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUUserTime = :cPUUserTime"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUKernelTime", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUKernelTime = :cPUKernelTime"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUNiceTime", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUNiceTime = :cPUNiceTime"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUWaitTime", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUWaitTime = :cPUWaitTime"),
    @NamedQuery(name = "Resourcesmonitoring.findByCPUIdleTime", query = "SELECT r FROM Resourcesmonitoring r WHERE r.cPUIdleTime = :cPUIdleTime"),
    @NamedQuery(name = "Resourcesmonitoring.findByRAMMemoryFree", query = "SELECT r FROM Resourcesmonitoring r WHERE r.rAMMemoryFree = :rAMMemoryFree"),
    @NamedQuery(name = "Resourcesmonitoring.findByRAMMemoryUsed", query = "SELECT r FROM Resourcesmonitoring r WHERE r.rAMMemoryUsed = :rAMMemoryUsed"),
    @NamedQuery(name = "Resourcesmonitoring.findByRAMMemoryFreePct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.rAMMemoryFreePct = :rAMMemoryFreePct"),
    @NamedQuery(name = "Resourcesmonitoring.findByRAMMemoryUsedPct", query = "SELECT r FROM Resourcesmonitoring r WHERE r.rAMMemoryUsedPct = :rAMMemoryUsedPct"),
    @NamedQuery(name = "Resourcesmonitoring.findBySwapMemoryFree", query = "SELECT r FROM Resourcesmonitoring r WHERE r.swapMemoryFree = :swapMemoryFree"),
    @NamedQuery(name = "Resourcesmonitoring.findBySwapMemoryPageIn", query = "SELECT r FROM Resourcesmonitoring r WHERE r.swapMemoryPageIn = :swapMemoryPageIn"),
    @NamedQuery(name = "Resourcesmonitoring.findBySwapMemoryPageOut", query = "SELECT r FROM Resourcesmonitoring r WHERE r.swapMemoryPageOut = :swapMemoryPageOut"),
    @NamedQuery(name = "Resourcesmonitoring.findBySwapMemoryUsed", query = "SELECT r FROM Resourcesmonitoring r WHERE r.swapMemoryUsed = :swapMemoryUsed"),
    @NamedQuery(name = "Resourcesmonitoring.findByHDFreeSpace", query = "SELECT r FROM Resourcesmonitoring r WHERE r.hDFreeSpace = :hDFreeSpace"),
    @NamedQuery(name = "Resourcesmonitoring.findByHDUsedSpace", query = "SELECT r FROM Resourcesmonitoring r WHERE r.hDUsedSpace = :hDUsedSpace"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETIPAddress", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETIPAddress = :nETIPAddress"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETInterface", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETInterface = :nETInterface"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETNetmask", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETNetmask = :nETNetmask"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETGateway", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETGateway = :nETGateway"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETRxBytes", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETRxBytes = :nETRxBytes"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETTxBytes", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETTxBytes = :nETTxBytes"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETSpeed", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETSpeed = :nETSpeed"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETRxErrors", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETRxErrors = :nETRxErrors"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETTxErrors", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETTxErrors = :nETTxErrors"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETRxPackets", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETRxPackets = :nETRxPackets"),
    @NamedQuery(name = "Resourcesmonitoring.findByNETTxPackets", query = "SELECT r FROM Resourcesmonitoring r WHERE r.nETTxPackets = :nETTxPackets")})
public class Resourcesmonitoring implements Serializable {
    private static final long serialVersionUID = 1L;
    @EmbeddedId
    protected ResourcesmonitoringPK resourcesmonitoringPK;
    @Basic(optional = false)
    @Column(name = "Date", nullable = false)
    @Temporal(TemporalType.TIMESTAMP)
    private Date date;
    @Basic(optional = false)
    @Column(name = "Counter", nullable = false)
    private int counter;
    @Column(name = "UserName", length = 30)
    private String userName;
    @Basic(optional = false)
    @Column(name = "UpTime", nullable = false)
    private float upTime;
    @Basic(optional = false)
    @Column(name = "CPUMflops", nullable = false)
    private float cPUMflops;
    @Basic(optional = false)
    @Column(name = "CPUMflopsTime", nullable = false)
    private float cPUMflopsTime;
    // @Max(value=?)  @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
    @Basic(optional = false)
    @Column(name = "CPUIdlePct", nullable = false, precision = 18, scale = 2)
    private BigDecimal cPUIdlePct;
    @Basic(optional = false)
    @Column(name = "CPUUsedPct", nullable = false, precision = 18, scale = 2)
    private BigDecimal cPUUsedPct;
    @Basic(optional = false)
    @Column(name = "CPUUserPct", nullable = false, precision = 18, scale = 2)
    private BigDecimal cPUUserPct;
    @Basic(optional = false)
    @Column(name = "CPUKernelPct", nullable = false, precision = 18, scale = 2)
    private BigDecimal cPUKernelPct;
    @Basic(optional = false)
    @Column(name = "CPUNicePct", nullable = false, precision = 18, scale = 2)
    private BigDecimal cPUNicePct;
    @Basic(optional = false)
    @Column(name = "CPUWaitPct", nullable = false, precision = 18, scale = 2)
    private BigDecimal cPUWaitPct;
    @Basic(optional = false)
    @Column(name = "CPUCombinedPct", nullable = false, precision = 18, scale = 2)
    private BigDecimal cPUCombinedPct;
    @Basic(optional = false)
    @Column(name = "CPUUserTime", nullable = false)
    private float cPUUserTime;
    @Basic(optional = false)
    @Column(name = "CPUKernelTime", nullable = false)
    private float cPUKernelTime;
    @Basic(optional = false)
    @Column(name = "CPUNiceTime", nullable = false)
    private float cPUNiceTime;
    @Basic(optional = false)
    @Column(name = "CPUWaitTime", nullable = false)
    private float cPUWaitTime;
    @Basic(optional = false)
    @Column(name = "CPUIdleTime", nullable = false)
    private float cPUIdleTime;
    @Basic(optional = false)
    @Column(name = "RAMMemoryFree", nullable = false)
    private float rAMMemoryFree;
    @Basic(optional = false)
    @Column(name = "RAMMemoryUsed", nullable = false)
    private float rAMMemoryUsed;
    @Basic(optional = false)
    @Column(name = "RAMMemoryFreePct", nullable = false, precision = 18, scale = 2)
    private BigDecimal rAMMemoryFreePct;
    @Basic(optional = false)
    @Column(name = "RAMMemoryUsedPct", nullable = false, precision = 18, scale = 2)
    private BigDecimal rAMMemoryUsedPct;
    @Basic(optional = false)
    @Column(name = "SwapMemoryFree", nullable = false)
    private float swapMemoryFree;
    @Basic(optional = false)
    @Column(name = "SwapMemoryPageIn", nullable = false)
    private float swapMemoryPageIn;
    @Basic(optional = false)
    @Column(name = "SwapMemoryPageOut", nullable = false)
    private float swapMemoryPageOut;
    @Basic(optional = false)
    @Column(name = "SwapMemoryUsed", nullable = false)
    private float swapMemoryUsed;
    @Basic(optional = false)
    @Column(name = "HDFreeSpace", nullable = false, precision = 18, scale = 2)
    private BigDecimal hDFreeSpace;
    @Basic(optional = false)
    @Column(name = "HDUsedSpace", nullable = false, precision = 18, scale = 2)
    private BigDecimal hDUsedSpace;
    @Basic(optional = false)
    @Column(name = "NETIPAddress", nullable = false, length = 20)
    private String nETIPAddress;
    @Basic(optional = false)
    @Column(name = "NETInterface", nullable = false, length = 20)
    private String nETInterface;
    @Basic(optional = false)
    @Column(name = "NETNetmask", nullable = false, length = 20)
    private String nETNetmask;
    @Basic(optional = false)
    @Column(name = "NETGateway", nullable = false, length = 20)
    private String nETGateway;
    @Basic(optional = false)
    @Column(name = "NETRxBytes", nullable = false)
    private float nETRxBytes;
    @Basic(optional = false)
    @Column(name = "NETTxBytes", nullable = false)
    private float nETTxBytes;
    @Basic(optional = false)
    @Column(name = "NETSpeed", nullable = false, precision = 18, scale = 2)
    private BigDecimal nETSpeed;
    @Basic(optional = false)
    @Column(name = "NETRxErrors", nullable = false)
    private float nETRxErrors;
    @Basic(optional = false)
    @Column(name = "NETTxErrors", nullable = false)
    private float nETTxErrors;
    @Basic(optional = false)
    @Column(name = "NETRxPackets", nullable = false)
    private float nETRxPackets;
    @Basic(optional = false)
    @Column(name = "NETTxPackets", nullable = false)
    private float nETTxPackets;
    @JoinColumn(name = "UUID", referencedColumnName = "UUID", nullable = false, insertable = false, updatable = false)
    @ManyToOne(optional = false)
    private Nodes nodes;

    public Resourcesmonitoring() {
    }

    public Resourcesmonitoring(ResourcesmonitoringPK resourcesmonitoringPK) {
        this.resourcesmonitoringPK = resourcesmonitoringPK;
    }

    public Resourcesmonitoring(ResourcesmonitoringPK resourcesmonitoringPK, Date date, int counter, float upTime, float cPUMflops, float cPUMflopsTime, BigDecimal cPUIdlePct, BigDecimal cPUUsedPct, BigDecimal cPUUserPct, BigDecimal cPUKernelPct, BigDecimal cPUNicePct, BigDecimal cPUWaitPct, BigDecimal cPUCombinedPct, float cPUUserTime, float cPUKernelTime, float cPUNiceTime, float cPUWaitTime, float cPUIdleTime, float rAMMemoryFree, float rAMMemoryUsed, BigDecimal rAMMemoryFreePct, BigDecimal rAMMemoryUsedPct, float swapMemoryFree, float swapMemoryPageIn, float swapMemoryPageOut, float swapMemoryUsed, BigDecimal hDFreeSpace, BigDecimal hDUsedSpace, String nETIPAddress, String nETInterface, String nETNetmask, String nETGateway, float nETRxBytes, float nETTxBytes, BigDecimal nETSpeed, float nETRxErrors, float nETTxErrors, float nETRxPackets, float nETTxPackets) {
        this.resourcesmonitoringPK = resourcesmonitoringPK;
        this.date = date;
        this.counter = counter;
        this.upTime = upTime;
        this.cPUMflops = cPUMflops;
        this.cPUMflopsTime = cPUMflopsTime;
        this.cPUIdlePct = cPUIdlePct;
        this.cPUUsedPct = cPUUsedPct;
        this.cPUUserPct = cPUUserPct;
        this.cPUKernelPct = cPUKernelPct;
        this.cPUNicePct = cPUNicePct;
        this.cPUWaitPct = cPUWaitPct;
        this.cPUCombinedPct = cPUCombinedPct;
        this.cPUUserTime = cPUUserTime;
        this.cPUKernelTime = cPUKernelTime;
        this.cPUNiceTime = cPUNiceTime;
        this.cPUWaitTime = cPUWaitTime;
        this.cPUIdleTime = cPUIdleTime;
        this.rAMMemoryFree = rAMMemoryFree;
        this.rAMMemoryUsed = rAMMemoryUsed;
        this.rAMMemoryFreePct = rAMMemoryFreePct;
        this.rAMMemoryUsedPct = rAMMemoryUsedPct;
        this.swapMemoryFree = swapMemoryFree;
        this.swapMemoryPageIn = swapMemoryPageIn;
        this.swapMemoryPageOut = swapMemoryPageOut;
        this.swapMemoryUsed = swapMemoryUsed;
        this.hDFreeSpace = hDFreeSpace;
        this.hDUsedSpace = hDUsedSpace;
        this.nETIPAddress = nETIPAddress;
        this.nETInterface = nETInterface;
        this.nETNetmask = nETNetmask;
        this.nETGateway = nETGateway;
        this.nETRxBytes = nETRxBytes;
        this.nETTxBytes = nETTxBytes;
        this.nETSpeed = nETSpeed;
        this.nETRxErrors = nETRxErrors;
        this.nETTxErrors = nETTxErrors;
        this.nETRxPackets = nETRxPackets;
        this.nETTxPackets = nETTxPackets;
    }

    public Resourcesmonitoring(String uuid, String id) {
        this.resourcesmonitoringPK = new ResourcesmonitoringPK(uuid, id);
    }

    public ResourcesmonitoringPK getResourcesmonitoringPK() {
        return resourcesmonitoringPK;
    }

    public void setResourcesmonitoringPK(ResourcesmonitoringPK resourcesmonitoringPK) {
        this.resourcesmonitoringPK = resourcesmonitoringPK;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getCounter() {
        return counter;
    }

    public void setCounter(int counter) {
        this.counter = counter;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public float getUpTime() {
        return upTime;
    }

    public void setUpTime(float upTime) {
        this.upTime = upTime;
    }

    public float getCPUMflops() {
        return cPUMflops;
    }

    public void setCPUMflops(float cPUMflops) {
        this.cPUMflops = cPUMflops;
    }

    public float getCPUMflopsTime() {
        return cPUMflopsTime;
    }

    public void setCPUMflopsTime(float cPUMflopsTime) {
        this.cPUMflopsTime = cPUMflopsTime;
    }

    public BigDecimal getCPUIdlePct() {
        return cPUIdlePct;
    }

    public void setCPUIdlePct(BigDecimal cPUIdlePct) {
        this.cPUIdlePct = cPUIdlePct;
    }

    public BigDecimal getCPUUsedPct() {
        return cPUUsedPct;
    }

    public void setCPUUsedPct(BigDecimal cPUUsedPct) {
        this.cPUUsedPct = cPUUsedPct;
    }

    public BigDecimal getCPUUserPct() {
        return cPUUserPct;
    }

    public void setCPUUserPct(BigDecimal cPUUserPct) {
        this.cPUUserPct = cPUUserPct;
    }

    public BigDecimal getCPUKernelPct() {
        return cPUKernelPct;
    }

    public void setCPUKernelPct(BigDecimal cPUKernelPct) {
        this.cPUKernelPct = cPUKernelPct;
    }

    public BigDecimal getCPUNicePct() {
        return cPUNicePct;
    }

    public void setCPUNicePct(BigDecimal cPUNicePct) {
        this.cPUNicePct = cPUNicePct;
    }

    public BigDecimal getCPUWaitPct() {
        return cPUWaitPct;
    }

    public void setCPUWaitPct(BigDecimal cPUWaitPct) {
        this.cPUWaitPct = cPUWaitPct;
    }

    public BigDecimal getCPUCombinedPct() {
        return cPUCombinedPct;
    }

    public void setCPUCombinedPct(BigDecimal cPUCombinedPct) {
        this.cPUCombinedPct = cPUCombinedPct;
    }

    public float getCPUUserTime() {
        return cPUUserTime;
    }

    public void setCPUUserTime(float cPUUserTime) {
        this.cPUUserTime = cPUUserTime;
    }

    public float getCPUKernelTime() {
        return cPUKernelTime;
    }

    public void setCPUKernelTime(float cPUKernelTime) {
        this.cPUKernelTime = cPUKernelTime;
    }

    public float getCPUNiceTime() {
        return cPUNiceTime;
    }

    public void setCPUNiceTime(float cPUNiceTime) {
        this.cPUNiceTime = cPUNiceTime;
    }

    public float getCPUWaitTime() {
        return cPUWaitTime;
    }

    public void setCPUWaitTime(float cPUWaitTime) {
        this.cPUWaitTime = cPUWaitTime;
    }

    public float getCPUIdleTime() {
        return cPUIdleTime;
    }

    public void setCPUIdleTime(float cPUIdleTime) {
        this.cPUIdleTime = cPUIdleTime;
    }

    public float getRAMMemoryFree() {
        return rAMMemoryFree;
    }

    public void setRAMMemoryFree(float rAMMemoryFree) {
        this.rAMMemoryFree = rAMMemoryFree;
    }

    public float getRAMMemoryUsed() {
        return rAMMemoryUsed;
    }

    public void setRAMMemoryUsed(float rAMMemoryUsed) {
        this.rAMMemoryUsed = rAMMemoryUsed;
    }

    public BigDecimal getRAMMemoryFreePct() {
        return rAMMemoryFreePct;
    }

    public void setRAMMemoryFreePct(BigDecimal rAMMemoryFreePct) {
        this.rAMMemoryFreePct = rAMMemoryFreePct;
    }

    public BigDecimal getRAMMemoryUsedPct() {
        return rAMMemoryUsedPct;
    }

    public void setRAMMemoryUsedPct(BigDecimal rAMMemoryUsedPct) {
        this.rAMMemoryUsedPct = rAMMemoryUsedPct;
    }

    public float getSwapMemoryFree() {
        return swapMemoryFree;
    }

    public void setSwapMemoryFree(float swapMemoryFree) {
        this.swapMemoryFree = swapMemoryFree;
    }

    public float getSwapMemoryPageIn() {
        return swapMemoryPageIn;
    }

    public void setSwapMemoryPageIn(float swapMemoryPageIn) {
        this.swapMemoryPageIn = swapMemoryPageIn;
    }

    public float getSwapMemoryPageOut() {
        return swapMemoryPageOut;
    }

    public void setSwapMemoryPageOut(float swapMemoryPageOut) {
        this.swapMemoryPageOut = swapMemoryPageOut;
    }

    public float getSwapMemoryUsed() {
        return swapMemoryUsed;
    }

    public void setSwapMemoryUsed(float swapMemoryUsed) {
        this.swapMemoryUsed = swapMemoryUsed;
    }

    public BigDecimal getHDFreeSpace() {
        return hDFreeSpace;
    }

    public void setHDFreeSpace(BigDecimal hDFreeSpace) {
        this.hDFreeSpace = hDFreeSpace;
    }

    public BigDecimal getHDUsedSpace() {
        return hDUsedSpace;
    }

    public void setHDUsedSpace(BigDecimal hDUsedSpace) {
        this.hDUsedSpace = hDUsedSpace;
    }

    public String getNETIPAddress() {
        return nETIPAddress;
    }

    public void setNETIPAddress(String nETIPAddress) {
        this.nETIPAddress = nETIPAddress;
    }

    public String getNETInterface() {
        return nETInterface;
    }

    public void setNETInterface(String nETInterface) {
        this.nETInterface = nETInterface;
    }

    public String getNETNetmask() {
        return nETNetmask;
    }

    public void setNETNetmask(String nETNetmask) {
        this.nETNetmask = nETNetmask;
    }

    public String getNETGateway() {
        return nETGateway;
    }

    public void setNETGateway(String nETGateway) {
        this.nETGateway = nETGateway;
    }

    public float getNETRxBytes() {
        return nETRxBytes;
    }

    public void setNETRxBytes(float nETRxBytes) {
        this.nETRxBytes = nETRxBytes;
    }

    public float getNETTxBytes() {
        return nETTxBytes;
    }

    public void setNETTxBytes(float nETTxBytes) {
        this.nETTxBytes = nETTxBytes;
    }

    public BigDecimal getNETSpeed() {
        return nETSpeed;
    }

    public void setNETSpeed(BigDecimal nETSpeed) {
        this.nETSpeed = nETSpeed;
    }

    public float getNETRxErrors() {
        return nETRxErrors;
    }

    public void setNETRxErrors(float nETRxErrors) {
        this.nETRxErrors = nETRxErrors;
    }

    public float getNETTxErrors() {
        return nETTxErrors;
    }

    public void setNETTxErrors(float nETTxErrors) {
        this.nETTxErrors = nETTxErrors;
    }

    public float getNETRxPackets() {
        return nETRxPackets;
    }

    public void setNETRxPackets(float nETRxPackets) {
        this.nETRxPackets = nETRxPackets;
    }

    public float getNETTxPackets() {
        return nETTxPackets;
    }

    public void setNETTxPackets(float nETTxPackets) {
        this.nETTxPackets = nETTxPackets;
    }

    public Nodes getNodes() {
        return nodes;
    }

    public void setNodes(Nodes nodes) {
        this.nodes = nodes;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (resourcesmonitoringPK != null ? resourcesmonitoringPK.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Resourcesmonitoring)) {
            return false;
        }
        Resourcesmonitoring other = (Resourcesmonitoring) object;
        if ((this.resourcesmonitoringPK == null && other.resourcesmonitoringPK != null) || (this.resourcesmonitoringPK != null && !this.resourcesmonitoringPK.equals(other.resourcesmonitoringPK))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "javaapplication1.Resourcesmonitoring[ resourcesmonitoringPK=" + resourcesmonitoringPK + " ]";
    }
    
}
